<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Register</title>
    <!--引入JQuery-->
    <script src="../js/jquery-3.3.1.js"></script>
    <!--引入axios.js-->
    <script src="../js/axios-0.18.0.js"></script>
    <!--引入register.css和register.js-->
    <link href="../css/register.css" rel="stylesheet">
    <script src="../js/register.js"></script>
</head>
<body>

<div class="form-div">
    <div class="reg-content">
        <h1>页面注册</h1>
        <span>已有帐号？</span> <a href="login.html">登录</a>
    </div>
    <table id="reg-form" method="post">

        <table>

            <tr>
                <td>用户名</td>
                <td class="inputs">
                    <input name="username" type="text" id="username">
                    <br>
                    <span id="username_err" class="err_msg">用户名已存在</span>
                </td>

            </tr>

            <tr>
                <td>密码</td>
                <td class="inputs">
                    <input name="password" type="password" id="password">
                    <br>
                    <span id="password_err" class="err_msg">密码格式有误</span>
                </td>
            </tr>


        </table>

        <div class="buttons">
            <button id="reg_btn">注册</button>
        </div>
        <br class="clear">
    </table>

</div>
</body>
</html>